package com.zntg.api.renGouShu.bo;

import com.zntg.api.renGouShu.entity.TblobstorageEntity;
import com.zntg.utils.string.StringUtil;

/**
 *@tablename TBLOBSTORAGE
 *@author zhengyunfei
 *@createDate Tue Dec 11 21:26:29 CST 2018
 */


public class TblobstorageBo implements java.io.Serializable{
 private String lStorageid;
 private String cCatalog;
 private String cSubkeyid;
 private String cFilename;
 private String bAccessory;
 private String lFilesize;
 private String cCreator;
 private String dCreatedate;
 private String cSecuritylevel;
 private String cIsuse;
 private String cType;
 private String cMemo;
 private String cFileid;
 private String lOrder;
 private String cKind;
 private String lFilegroupno;
 private String lFileno;
 private String cFilepath;
 private String cFilepathtype;
 private String cNodecode;
 private String cAnnextypeid;
 private String cProcessnode;
 private String lOutserialno;
 private String cUuid;
 private String cOutserialno;
 private String cProcessinstanceid;
 private String cObjtype;
 private String cObjno;
 private String field;
 private String order;
/**
     * 更改排序字段
     * @return
     */
public String getField() {
        return field;
}
public void setField(String field) {
        this.field = field;
}
public String getOrder() {
        return order;
}
public void setOrder(String order) {
        this.order = order;
}
 private int curNo;
 public int getCurNo() {
     int value=(curNo-1)*curSize;
     return value;
 }
 public void setCurNo(int curNo) {
     this.curNo = curNo;
 }
 private int curSize;
 public int getCurSize() {
     return curSize;
 }
 public void setCurSize(int curSize) {
     this.curSize = curSize;
 }
 public void setLStorageid(String lStorageid){
     this.lStorageid=lStorageid;
 }
 public String getLStorageid(){
     return lStorageid;
 }
 public void setCCatalog(String cCatalog){
     this.cCatalog=cCatalog;
 }
 public String getCCatalog(){
     return cCatalog;
 }
 public void setCSubkeyid(String cSubkeyid){
     this.cSubkeyid=cSubkeyid;
 }
 public String getCSubkeyid(){
     return cSubkeyid;
 }
 public void setCFilename(String cFilename){
     this.cFilename=cFilename;
 }
 public String getCFilename(){
     return cFilename;
 }
 public void setBAccessory(String bAccessory){
     this.bAccessory=bAccessory;
 }
 public String getBAccessory(){
     return bAccessory;
 }
 public void setLFilesize(String lFilesize){
     this.lFilesize=lFilesize;
 }
 public String getLFilesize(){
     return lFilesize;
 }
 public void setCCreator(String cCreator){
     this.cCreator=cCreator;
 }
 public String getCCreator(){
     return cCreator;
 }
 public void setDCreatedate(String dCreatedate){
     this.dCreatedate=dCreatedate;
 }
 public String getDCreatedate(){
     return dCreatedate;
 }
 public void setCSecuritylevel(String cSecuritylevel){
     this.cSecuritylevel=cSecuritylevel;
 }
 public String getCSecuritylevel(){
     return cSecuritylevel;
 }
 public void setCIsuse(String cIsuse){
     this.cIsuse=cIsuse;
 }
 public String getCIsuse(){
     return cIsuse;
 }
 public void setCType(String cType){
     this.cType=cType;
 }
 public String getCType(){
     return cType;
 }
 public void setCMemo(String cMemo){
     this.cMemo=cMemo;
 }
 public String getCMemo(){
     return cMemo;
 }
 public void setCFileid(String cFileid){
     this.cFileid=cFileid;
 }
 public String getCFileid(){
     return cFileid;
 }
 public void setLOrder(String lOrder){
     this.lOrder=lOrder;
 }
 public String getLOrder(){
     return lOrder;
 }
 public void setCKind(String cKind){
     this.cKind=cKind;
 }
 public String getCKind(){
     return cKind;
 }
 public void setLFilegroupno(String lFilegroupno){
     this.lFilegroupno=lFilegroupno;
 }
 public String getLFilegroupno(){
     return lFilegroupno;
 }
 public void setLFileno(String lFileno){
     this.lFileno=lFileno;
 }
 public String getLFileno(){
     return lFileno;
 }
 public void setCFilepath(String cFilepath){
     this.cFilepath=cFilepath;
 }
 public String getCFilepath(){
     return cFilepath;
 }
 public void setCFilepathtype(String cFilepathtype){
     this.cFilepathtype=cFilepathtype;
 }
 public String getCFilepathtype(){
     return cFilepathtype;
 }
 public void setCNodecode(String cNodecode){
     this.cNodecode=cNodecode;
 }
 public String getCNodecode(){
     return cNodecode;
 }
 public void setCAnnextypeid(String cAnnextypeid){
     this.cAnnextypeid=cAnnextypeid;
 }
 public String getCAnnextypeid(){
     return cAnnextypeid;
 }
 public void setCProcessnode(String cProcessnode){
     this.cProcessnode=cProcessnode;
 }
 public String getCProcessnode(){
     return cProcessnode;
 }
 public void setLOutserialno(String lOutserialno){
     this.lOutserialno=lOutserialno;
 }
 public String getLOutserialno(){
     return lOutserialno;
 }
 public void setCUuid(String cUuid){
     this.cUuid=cUuid;
 }
 public String getCUuid(){
     return cUuid;
 }
 public void setCOutserialno(String cOutserialno){
     this.cOutserialno=cOutserialno;
 }
 public String getCOutserialno(){
     return cOutserialno;
 }
 public void setCProcessinstanceid(String cProcessinstanceid){
     this.cProcessinstanceid=cProcessinstanceid;
 }
 public String getCProcessinstanceid(){
     return cProcessinstanceid;
 }
 public void setCObjtype(String cObjtype){
     this.cObjtype=cObjtype;
 }
 public String getCObjtype(){
     return cObjtype;
 }
 public void setCObjno(String cObjno){
     this.cObjno=cObjno;
 }
 public String getCObjno(){
     return cObjno;
 }
 public static TblobstorageEntity boToEntity(TblobstorageBo bo){
     TblobstorageEntity entity=new TblobstorageEntity();
     entity.setLStorageid(bo.getLStorageid());
     entity.setCCatalog(bo.getCCatalog());
     entity.setCSubkeyid(bo.getCSubkeyid());
     entity.setCFilename(bo.getCFilename());
     entity.setBAccessory(bo.getBAccessory());
     if(!StringUtil.isNullOrEmpty(bo.getLFilesize())){
         entity.setLFilesize(Long.parseLong(bo.getLFilesize()));
     }
     entity.setCCreator(bo.getCCreator());
     entity.setDCreatedate(bo.getDCreatedate());
     entity.setCSecuritylevel(bo.getCSecuritylevel());
     entity.setCIsuse(bo.getCIsuse());
     entity.setCType(bo.getCType());
     entity.setCMemo(bo.getCMemo());
     entity.setCFileid(bo.getCFileid());
     entity.setLOrder(bo.getLOrder());
     entity.setCKind(bo.getCKind());
     entity.setLFilegroupno(bo.getLFilegroupno());
     entity.setLFileno(bo.getLFileno());
     entity.setCFilepath(bo.getCFilepath());
     entity.setCFilepathtype(bo.getCFilepathtype());
     entity.setCNodecode(bo.getCNodecode());
     entity.setCAnnextypeid(bo.getCAnnextypeid());
     entity.setCProcessnode(bo.getCProcessnode());
     entity.setLOutserialno(bo.getLOutserialno());
     entity.setCUuid(bo.getCUuid());
     entity.setCOutserialno(bo.getCOutserialno());
     entity.setCProcessinstanceid(bo.getCProcessinstanceid());
     entity.setCObjtype(bo.getCObjtype());
     entity.setCObjno(bo.getCObjno());
     return entity;
 }
 public static TblobstorageBo entityToBo(TblobstorageEntity bo){
     TblobstorageBo entity=new TblobstorageBo();
     entity.setLStorageid(bo.getLStorageid());
     entity.setCCatalog(bo.getCCatalog());
     entity.setCSubkeyid(bo.getCSubkeyid());
     entity.setCFilename(bo.getCFilename());
     entity.setBAccessory(bo.getBAccessory());
     entity.setLFilesize(bo.getLFilesize()+"");
     entity.setCCreator(bo.getCCreator());
     entity.setDCreatedate(bo.getDCreatedate());
     entity.setCSecuritylevel(bo.getCSecuritylevel());
     entity.setCIsuse(bo.getCIsuse());
     entity.setCType(bo.getCType());
     entity.setCMemo(bo.getCMemo());
     entity.setCFileid(bo.getCFileid());
     entity.setLOrder(bo.getLOrder());
     entity.setCKind(bo.getCKind());
     entity.setLFilegroupno(bo.getLFilegroupno());
     entity.setLFileno(bo.getLFileno());
     entity.setCFilepath(bo.getCFilepath());
     entity.setCFilepathtype(bo.getCFilepathtype());
     entity.setCNodecode(bo.getCNodecode());
     entity.setCAnnextypeid(bo.getCAnnextypeid());
     entity.setCProcessnode(bo.getCProcessnode());
     entity.setLOutserialno(bo.getLOutserialno());
     entity.setCUuid(bo.getCUuid());
     entity.setCOutserialno(bo.getCOutserialno());
     entity.setCProcessinstanceid(bo.getCProcessinstanceid());
     entity.setCObjtype(bo.getCObjtype());
     entity.setCObjno(bo.getCObjno());
     return entity;
 }

}

